package com.example.dazhuang.vo;

/**
 * Created by admin on 2018/4/2.
 */
public class Scheduling {

    private String crontab; //Crontab表达式(默认:"")

    private int repeatTimes;//重复执行次数(默认:-1,单位:次)

    private long repeatPeriodMillis;//重复执行的间隔时长(默认:-1,单位:毫秒)

    private long activeTime; //生效时间(默认:当前时间)

    private long activeDelayMillis;//生效延迟触发时长(默认:-1,单位:毫秒)

    private long invalidTime;//失效时间(默认:-1永久)

    public String getCrontab() {
        return crontab;
    }

    public void setCrontab(String crontab) {
        this.crontab = crontab;
    }

    public int getRepeatTimes() {
        return repeatTimes;
    }

    public void setRepeatTimes(int repeatTimes) {
        this.repeatTimes = repeatTimes;
    }

    public long getRepeatPeriodMillis() {
        return repeatPeriodMillis;
    }

    public void setRepeatPeriodMillis(long repeatPeriodMillis) {
        this.repeatPeriodMillis = repeatPeriodMillis;
    }

    public long getActiveTime() {
        return activeTime;
    }

    public void setActiveTime(long activeTime) {
        this.activeTime = activeTime;
    }

    public long getActiveDelayMillis() {
        return activeDelayMillis;
    }

    public void setActiveDelayMillis(long activeDelayMillis) {
        this.activeDelayMillis = activeDelayMillis;
    }

    public long getInvalidTime() {
        return invalidTime;
    }

    public void setInvalidTime(long invalidTime) {
        this.invalidTime = invalidTime;
    }
}
